import {ajax_user} from './ajax';

//礼物特效
export const BIGGIFTANIM = "gift_anim";
export const LIVEGIFTLIST = 'gift_live';

//直播间礼物列表
export function live_gift(dispatch){
    ajax_user("live/gift/gift_list")
    .then(responseJson => {
      dispatch({
        type: LIVEGIFTLIST,
        list: responseJson.data.real_gift
      });
    })
}